package com.guoguo.mapper;

import com.guoguo.entity.Album;
import com.guoguo.entity.Statistical;
import com.guoguo.entity.vo.RankingVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/8/31 0031.
 */
public interface StatisticalMapper {

    List<RankingVO> getRanking(int type);

    int addRanking(Statistical statistical);

    int removeRanking(String today);

    RankingVO selectByIdType(@Param(value="albId")String albId, @Param(value="type")int type);

    int updateByIdType(Statistical statistical);
}
